package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.DataBranchcheckDao;
import io.renren.entity.DataBranchcheckEntity;
import io.renren.service.DataBranchcheckService;



@Service("dataBranchcheckService")
public class DataBranchcheckServiceImpl implements DataBranchcheckService {
	@Autowired
	private DataBranchcheckDao dataBranchcheckDao;
	
	@Override
	public DataBranchcheckEntity queryObject(String id){
		return dataBranchcheckDao.queryObject(id);
	}
	
	@Override
	public List<DataBranchcheckEntity> queryList(Map<String, Object> map){
		return dataBranchcheckDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return dataBranchcheckDao.queryTotal(map);
	}
	
	@Override
	public void save(DataBranchcheckEntity dataBranchcheck){
		dataBranchcheckDao.save(dataBranchcheck);
	}
	
	@Override
	public void update(DataBranchcheckEntity dataBranchcheck){
		dataBranchcheckDao.update(dataBranchcheck);
	}
	
	@Override
	public void delete(String id){
		dataBranchcheckDao.delete(id);
	}
	
	@Override
	public void deleteBatch(String[] ids){
		dataBranchcheckDao.deleteBatch(ids);
	}

	@Override
	public void deleteByMonth(String month) {
		// TODO Auto-generated method stub
		dataBranchcheckDao.deleteByMonth(month);
	}
	
}
